.add-arrange-container {
  padding: 24px;
  background-color: #f5f7fa;
  min-height: 100vh;
}

.page-title {
  color: #1890ff;
  margin-bottom: 24px !important;
  display: flex;
  align-items: center;
}

.title-icon {
  margin-right: 8px;
}

.arrange-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.form-section {
  padding: 16px 24px;
}

.section-title {
  margin-bottom: 16px !important;
  color: #1f2937;
  display: flex;
  align-items: center;
}

.section-icon {
  margin-right: 8px;
  color: #1890ff;
}

.section-divider {
  margin: 0 !important;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.form-item {
  flex: 1;
  min-width: 200px;
}

.form-item strong {
  display: block;
  margin-bottom: 8px;
  color: #4b5563;
  font-size: 14px;
}

.form-control {
  width: 100%;
  transition: all 0.2s ease;
}

.form-control:focus {
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.full-width {
  width: 100%;
}

.add-doctor-section {
  margin-bottom: 24px;
  padding: 16px;
  background-color: #f9fafb;
  border-radius: 6px;
  border: 1px dashed #e5e7eb;
}

.action-item {
  display: flex;
  justify-content: space-between;
  
}

.add-button {
  width: 50%;
  transition: all 0.2s ease;
  text-align: right;
}

.add-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
}

.select-option-content {
  display: flex;
  align-items: center;
}

.specialty-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.doctors-list {
  margin-top: 16px;
}

.doctor-row:hover {
  background-color: #f9fafb;
}

.empty-state {
  padding: 48px 24px;
  text-align: center;
  background-color: #f9fafb;
  border-radius: 6px;
  border: 1px dashed #e5e7eb;
}

.empty-icon {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 16px;
}

.empty-hint {
  margin-top: 8px;
  font-size: 14px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;

  border-top: 1px solid #e5e7eb;
}

.save-button {
  transition: all 0.2s ease;
}

.save-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
}

.reset-button {
  transition: all 0.2s ease;
}

.reset-button:hover {
  background-color: #f1f5f9;
}

@media (max-width: 768px) {
  .add-arrange-container {
    padding: 16px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .form-item {
    min-width: 100%;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions Button {
    width: 100%;
  }
}


/* 
日期排班详情样式
*/

.rest-time-card {
  background-color: #fff8e6;
  border-color: #ffe58f;
  margin-bottom: 10px;
  margin-top:10px;
}



.schedule-card {
  border-radius: 8px;
  border-left: 4px solid #1890ff;
  margin-bottom :10px;
}

.schedule-header {
  padding-bottom: 8px;
}

.schedule-title {
  margin: 0;
  color: #1890ff;
}

.time-range-tag {
  font-size: 12px;
}

.schedule-divider {
  margin: 8px 0;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.doctor-card {
  border-radius: 6px;
  transition: all 0.2s;
}

.doctor-info {
  display: flex;
  align-items: center;
}

.doctor-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e6f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.avatar-icon {
  color: #1890ff;
}

.doctor-details {
  flex: 1;
}

.doctor-name {
  font-size: 14px;
}

.doctor-treatment {
  font-size: 12px;
  color: #666;
}

.no-doctors {
  text-align: center;
  padding: 16px;
  color: #999;
  background-color: #f5f5f5;
  border-radius: 6px;
}

.no-schedules-container {
  background-color: #fafafa;
  border-radius: 8px;
}

.empty-icon {
  font-size: 48px;
  color: #ddd;
}

.empty-title {
  color: #666;
  margin: 0;
}

.empty-subtitle {
  margin-top: 8px;
}

.add-schedule-btn {
  margin-top: 16px;
}

.footer-actions {
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.close-btn {
  min-width: 80px;
}

/*调整排班*/
/* 取消选中行的背景色 */
.ant-table-tbody > tr.ant-table-row-selected > td {
  background-color: transparent !important;
}

/* 可选：取消选中行的hover效果 */
.ant-table-tbody > tr.ant-table-row-selected:hover > td {
  background-color: transparent !important;
}